<template>
  <el-container>
    <el-header height="5vh" class="content-header">
      <el-breadcrumb>
        <el-breadcrumb-item class="breadcrumb-title">{{this.$route.name}}</el-breadcrumb-item>
      </el-breadcrumb>
      <uploadFile v-if="uploadFile"></uploadFile>
      <UpLoadPhoto v-if="upLoadPhoto"></UpLoadPhoto>
    </el-header>
    <el-main class="content-view">
      <slot></slot>
    </el-main>
  </el-container>
</template>

<script>
import uploadFile from '../upload/UpLoadFile'
import UpLoadPhoto from '../upload/UpLoadPhoto'
export default {
  name: "ViewBorder",
  components:{uploadFile,UpLoadPhoto},
  props:['uploadFile','upLoadPhoto']
}
</script>

